package com.jackson.passjava.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * 
 * @author Liyuhang
 * @email 50875895@qq.com
 * @date 2021-08-23 17:15:56
 */
@Data
@TableName("tb_order")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId
	private Integer id;
	/**
	 * 用户ID
	 */
	private Integer userid;
	/**
	 * 商品id
	 */
	private Integer productid;
	/**
	 * 
	 */
	private Integer count;
	/**
	 * 
	 */
	private BigDecimal money;
	/**
	 * 0：创建中；1：已完结
	 */
	private Integer status;

}
